package com.pawelthiel.persistence.to;

import java.util.List;

public class FrageTO extends AbstractTO {

	private int id;
	
	private String text;

	private List<AntwortTO> antworten;
	
	private FragenTypTO fragenTyp;
	
	private UserTO userTO;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the antworten
	 */
	public List<AntwortTO> getAntworten() {
		return antworten;
	}

	/**
	 * @param antworten the antworten to set
	 */
	public void setAntworten(List<AntwortTO> antworten) {
		this.antworten = antworten;
	}

	/**
	 * @return the fragenTyp
	 */
	public FragenTypTO getFragenTyp() {
		return fragenTyp;
	}

	/**
	 * @param fragenTyp the fragenTyp to set
	 */
	public void setFragenTyp(FragenTypTO fragenTyp) {
		this.fragenTyp = fragenTyp;
	}

	/**
	 * @return the userTO
	 */
	public UserTO getUserTO() {
		return userTO;
	}

	/**
	 * @param userTO the userTO to set
	 */
	public void setUserTO(UserTO userTO) {
		this.userTO = userTO;
	}
}
